package factory.factoryMethod;

import factory.base.IPhone;
import factory.base.MAC;
import factory.base.Pc;
import factory.base.Phone;

import javax.crypto.Mac;

/**
 * @author: whh
 * @Date: 2021/6/7
 * @Description:
 */
public class AppleFactory implements AbstractFactory {

    @Override
    public Phone makePhone() {
        return new IPhone();
    }

    @Override
    public Pc makePc() {
        return new MAC();
    }
}
